<HTML>
  <head>
    <script type="text/javascript" src="../sha1.js"></script>
    <script type="text/javascript" src="../oauth.js"></script>
    <script type="text/javascript" src="consumer.js"></script>
  </head>
  <body onLoad="consumer.initializeForm(document.request, document.etc, 'requestToken')">
    <form name="request" method="POST" onSubmit="consumer.signForm(this, document.etc)">
        <input type="submit" value="Get Request Token"/><br/>
        consumer key:     <input name="oauth_consumer_key"     type="text" size="64"/><br/>
        signature method: <input name="oauth_signature_method" type="text"/>
                          <input name="oauth_timestamp"        type="hidden"/>
                          <input name="oauth_nonce"            type="hidden"/>
                          <input name="oauth_signature"        type="hidden"/>
    </form>
    <form name="etc">
        Service provider:
        <select name="selector" onChange="consumer.initializeForm(document.request, document.etc, 'requestToken')">
            <option value="example">Example Provider
            <option value="madgex" selected="true">madgex.com
            <option value="mediamatic">mediamatic.nl
            <option value="termie">term.ie
        </select><br/>
        URL:              <input name="URL"                    type="text" size="80"/><br/>
        consumer secret:  <input name="consumerSecret"         type="text" size="64"/><br/>
                          <input name="tokenSecret"            type="hidden" value=""/>
    </form>
  </body>
</HTML>
